package web

import (
	"ksd-social-api/modules/user/model/context"
)

/**
 * vip订单
 * @author feige
 * @date 2023-12-14
 * @version 1.0
 * @desc
 */
func (web *UserCenterController) FindMyUserBuyVipOrderPage() {
	userCenterContext := context.UserCenterContext{}
	web.BindJSON(&userCenterContext)
	userCenterContext.UserId = web.GetUserId()
	userCenterContext.SystemId = web.GetSystemId()
	p := userCenterService.FindMyUserBuyVipOrderPage(userCenterContext)
	web.Ok(p)
}

/**
 * 小册订单
 * @author feige
 * @date 2023-12-14
 * @version 1.0
 * @desc
 */
func (web UserCenterController) FindMyNotesOrderPage() {
	userCenterContext := context.UserCenterContext{}
	web.BindJSON(&userCenterContext)
	userCenterContext.UserId = web.GetUserId()
	userCenterContext.SystemId = web.GetSystemId()
	p := userCenterService.FindMyNoteOrderPage(userCenterContext)
	web.Ok(p)
}

/**
 * 专题订单
 * @author feige
 * @date 2023-12-14
 * @version 1.0
 * @desc
 */
func (web UserCenterController) FindMySpecialsOrderPage() {
	userCenterContext := context.UserCenterContext{}
	web.BindJSON(&userCenterContext)
	userCenterContext.UserId = web.GetUserId()
	userCenterContext.SystemId = web.GetSystemId()
	p := userCenterService.FindMySpecialOrderPage(userCenterContext)
	web.Ok(p)
}

/**
 * 专题明细订单
 * @author feige
 * @date 2023-12-14
 * @version 1.0
 * @desc
 */
func (web UserCenterController) FindMySpecialBindsOrderPage() {
	userCenterContext := context.UserCenterContext{}
	web.BindJSON(&userCenterContext)
	userCenterContext.UserId = web.GetUserId()
	userCenterContext.SystemId = web.GetSystemId()
	p := userCenterService.FindMySpecialBindOrderPage(userCenterContext)
	web.Ok(p)
}
